﻿using System.ComponentModel.DataAnnotations.Schema;
using DJH.School.Application.EnumsType;

namespace DJH.School.Core.Models
{
    public class Enrollment
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }
        public int StudentId { get; set; }
        public int CourseId { get; set; }
        public CourseGrade? Grade { get; set; }

        public Student Student { get; set; }

        public Course Course { get; set; }
    }
}